package com.guoxin.chapter2.synchronizedblocklockall.test3;

public class ThreadA extends java.lang.Thread {
	private Service service;
	private MyObject myObject;
	public ThreadA(Service service, MyObject myObject) {
		this.service = service;
		this.myObject = myObject;
	}
	
	@Override
	public void run() {
		service.testMehotd1(myObject);
	}
	
}
